import os
import sys
import logging

DIR_PATH = os.path.abspath(os.path.dirname(os.path.realpath(__file__)))
LIB_PATH = os.path.join(DIR_PATH, "lib")
EXTRA_PATHS = []
for path in os.listdir(LIB_PATH):
	fullpath = os.path.join(LIB_PATH, path)
	if os.path.isdir(fullpath) and not path.startswith("."):
		EXTRA_PATHS.append(fullpath)
sys.path = sys.path + EXTRA_PATHS

import startingblock

if __name__ == '__main__':
	startingblock.startup()
